﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Core.Admin;

namespace FortuneHeaven.Entity.NetBar
{
    public partial class UserExInfo
    {
        private UserInfo _userInfo;
        public Func<int, UserInfo> GetUserInfo;
        public UserInfo UserInfo
        {
            get
            {
                if (_userInfo == null)
                {
                    _userInfo = GetUserInfo(this.ID);
                }
                return _userInfo;
            }
            set
            {
                _userInfo = value;
            }
        }
    }
}
